package com.medusa.aps.business.modules.basic.model.output;

import cn.hutool.core.annotation.Alias;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Getter
@Setter
@Accessors(chain = true)
public class SupplierMaterialVO {

    /**
     * 供应商id
     */
    @Schema(description = "供应商id")
    private Long supplierId;

    /**
     * 物料id
     */
    @Schema(description = "物料id")
    private Long materialId;

    /**
     * 物料编码
     */
    @Alias("物料编码")
    private String materialCode;

    /**
     * 物料名称
     */
    @Alias("物料名称")
    private String materialName;

    /**
     * 成品率
     */
    @Schema(description = "成品率")
    private BigDecimal finishedProductRate;

    /**
     * 准交率
     */
    @Schema(description = "准交率")
    private BigDecimal quasiDeliveryRate;
}
